package cn.tedu.charging.account.dao.persist.mappers;

import cn.tedu.charging.account.pojo.entity.Order;
import cn.tedu.charging.account.pojo.vo.OrderStandardVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

/**
 * 处理订单的Mapper接口
 *
 * @author wyy
 * @version 1.0
 */
@Repository
public interface OrderMapper extends BaseMapper<Order> {

    /**
     * 根据充电枪id查询数据
     *
     * @param id 充电枪id
     * @return 当前充电枪的信息对象
     */
    OrderStandardVO selectByDeviceId(Long id);
}
